﻿using Castle.ActiveRecord;

namespace FileManager_Server.DataLayer.Castle_Model
{
    [ActiveRecord("BD_USER")]
    public class UserDbModel : OtherActiveRecord<UserDbModel>
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [PrimaryKey(PrimaryKeyType.Assigned)]
        public string USERID { get; set; }
        /// <summary>
        /// 登录ID
        /// </summary>
        [Property]
        public string LOGINID { get; set; }
        /// <summary>
        /// 登录密码
        /// </summary>
        [Property]
        public string LOGINPASSWORD { get; set; }
        /// <summary>
        /// 所属组织机构ID
        /// </summary>
        [Property]
        public string COMPANYID { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        [Property]
        public string NAME { get; set; }
        /// <summary>
        /// 停用日期
        /// </summary>
        [Property]
        public string ENDTIME { get; set; }
        /// <summary>
        /// 启用日期
        /// </summary>
        [Property]
        public string BEGINTIME { get; set; }
        /// <summary>
        /// 创建者ID
        /// </summary>
        [Property]
        public string CREATEID { get; set; }
        /// <summary>
        /// 用户SID(对接v5.0用户ID)
        /// </summary>
        [Property]
        public string SID { get; set; }
        /// <summary>
        /// 状态(0正常1停用或锁定2注销)
        /// </summary>
        [Property]
        public string STATUS { get; set; }
        /// <summary>
        /// 顺序号
        /// </summary>
        [Property]
        public string ORDERNUMBER { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        [Property]
        public string ADDRESS { get; set; }
        /// <summary>
        /// 移动电话
        /// </summary>
        [Property]
        public string CELLPHONE { get; set; }
        /// <summary>
        /// 办公电话
        /// </summary>
        [Property]
        public string TELEPHONE { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        [Property]
        public string EMAIL { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        [Property]
        public string UNIQUEIDENTITY { get; set; }
        /// <summary>
        /// 头像路径
        /// </summary>
        [Property]
        public string HEADIMGPATH { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [Property]
        public string SEX { get; set; }
        /// <summary>
        /// 磁盘大小
        /// </summary>
        [Property]
        public string DISKLARGE { get; set; }
        /// <summary>
        /// 默认站点ID
        /// </summary>
        [Property]
        public string DEFAULTSITEID { get; set; }
        /// <summary>
        /// 职称
        /// </summary>
        [Property]
        public string DUTY { get; set; }
        [Property]
        public string BUSSYSTEMID { get; set; }
    }
}